# coding=utf-8
__author__ = 'good'

from flask import Blueprint
from flask_restful import Api
from . import apis
from . import comment

api = Blueprint('api', __name__, url_prefix='/api')
_api = Api(api)

_api.add_resource(apis.article_json, '/article')
_api.add_resource(apis.visit_json, '/visit')
_api.add_resource(apis.calendar_json, '/calendar')
_api.add_resource(apis.server_info, '/server_info/<string:type>')
_api.add_resource(comment.Comment, '/comment')
